package top.infopub.mgr.mkt.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import top.infopub.model.mkt.BusinessDetails;
import top.infopub.model.mkt.ProjectInfo;

import java.util.List;
import java.util.Map;

/**
 * @Author Warking
 * @Date 2021/5/6 21:24
 * @Version 1.0
 */
@Repository
public interface BusinessDetailsDao {
    //查询商务标的数据
    List<BusinessDetails> businessDetail(String proCode);

    void updateSingle(BusinessDetails businessDetails);

    void insertSingle(BusinessDetails businessDetails);

    Map<String,Object>   selectReplenishProjectInfo(@Param("proCode")String proCode);

    int deleteBusinessDetail(@Param("id")String sguid);

    List<BusinessDetails> selectByProCode(@Param("proCode")String proCode);
}
